﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ueEngine.Biz.Inf.LogicEntity;

namespace ueEngine.Web.WebLogic.Model.SharingService
{
    [Serializable]
    public class Recruitment : Description
    {
        /// <summary>
        /// 兼职标题
        /// </summary>
        public string Caption { get; set; }
        /// <summary>
        /// 发布时间
        /// </summary>
        public DateTime PublishDate { get; set; }
        /// <summary>
        /// 区域
        /// </summary>
        public AreaCode areaCode { get; set; }
        /// <summary>
        /// 兼职地点
        /// </summary>
        public string Address { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        public string ContactMan { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string ContactPhone { get; set; }
        /// <summary>
        /// 联系QQ
        /// </summary>
        public string QQ { get; set; }
        /// <summary>
        /// 简历投递邮箱
        /// </summary>
        public string ContactEmail { get; set; }
        /// <summary>
        /// 职位信息
        /// </summary>
        public List<Position> Position { get; set; }
        /// <summary>
        /// 公司信息
        /// </summary>
        public CompanyInfo Company { get; set; }   
    }
    [Serializable]
    public class Position
    {
        public string Title { get; set; }
        public PositionType PositionType { get; set; }
        public int Vacancy { get; set; }
        public decimal MinSalary { get; set; }
        public decimal MaxSalary { get; set; }
        public SalaryPeriod Period { get; set; }
        public Gender Gender { get; set; }
        public Degree Degree { get; set; }
        public bool RequireExperience { get; set; }
        public string Description { get; set; }
    }
    [Serializable]
    public class CompanyInfo
    {
        public string Name { get; set; }
        public Business Business { get; set; }
        /// <summary>
        /// 企业性质
        /// </summary>
        public CompanyType Type { get; set; }
        /// <summary>
        /// 企业规模
        /// </summary>
        public CompanyDimensions Dimensions { get; set; }
        /// <summary>
        /// 关于企业
        /// </summary>
        public string About { get; set; }
    }
}
